package com.ssy.lingxi.order.model.vo.basic.request;

import com.ssy.lingxi.order.handler.annotation.OrderPayChannelAnnotation;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 支付渠道枚举作为接口参数
 * @author 万宁
 * @version 2.0.0
 * @date 2021-08-12
 */
public class OrderPayChannelVO implements Serializable {
    private static final long serialVersionUID = 4328379429487315431L;

    /**
     * 支付渠道枚举
     */
    @NotNull(message = "支付渠道枚举不能为空")
    @OrderPayChannelAnnotation
    private Integer payChannel;

    public Integer getPayChannel() {
        return payChannel;
    }

    public void setPayChannel(Integer payChannel) {
        this.payChannel = payChannel;
    }
}
